package com.wdj.consume.entity;


import com.baomidou.mybatisplus.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (SysUser)表实体类
 *
 * @author makejava
 * @since 2020-11-25 20:07:50
 */
@SuppressWarnings("serial")
@Data
public class SysUser extends Model<SysUser> {
    //ID
    private String id;
    //用户名
    private String username;
    //密码
    private String password;
    //分类
    private String type;
    //创建时间
    private Date createtime;
    //更新时间
    private Date updatetime;
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}